<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/extras/spring-security5">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="description" content="">
    <meta name="author" content="">
    <title>请登录</title>
    <link rel="stylesheet" th:href="@{/webjars/bootstrap/5.1.3/css/bootstrap.css}">
    <script th:src="@{/webjars/bootstrap/5.1.3/js/bootstrap.js}"></script>
</head>
</head>
<body class="text-center">

<div class="container mt-3">
    <h2>提示框动画</h2>
    <p>.fade 和 .show 类用于设置提示框在关闭时的淡出和淡入效果：</p>
    <div class="alert alert-success alert-dismissible fade show">
        <button type="button" class="btn-close" data-bs-dismiss="alert"></button>
        <strong>成功!</strong> 指定操作成功提示信息。
        <a class="btn btn-info" th:href="@{/admin/toAdmin}" th:text="admin"></a>
        <a class="btn btn-info" th:href="@{/logout}" th:text="退出系统"></a>
        <form th:action="@{/toLogout}" method="POST">
            <input class="btn btn-info" type="submit" value="注销"/>
        </form>
    </div>
</div>
</body>
</html>